<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:79:"E:\UPUPW_NP7.0\htdocs\filtrs\public/../application/admin\view\product\edit.html";i:1513089227;s:80:"E:\UPUPW_NP7.0\htdocs\filtrs\public/../application/admin\view\public\header.html";i:1513170887;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>滤易管理平台</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_LAY__']; ?>/css/layui.css" media="all" />
	<link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />
	<link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_CSS__']; ?>/login.css" media="all" />
	<link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_CSS__']; ?>/main.css" media="all" />
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_LAY__']; ?>/layui.js"></script>
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_JS__']; ?>/common.js"></script>
</head>
<body class="childrenBody">
	<form class="layui-form">
		<div class="layui-tab">
			<ul class="layui-tab-title">
				<li class="layui-this">基础信息</li>
				<li>技术参数</li>
				<li>产品附件</li>
				<li>产品图片</li>
				<li>尺寸信息</li>
				<li>互换编码</li>
				<li>适用范围</li>
			</ul>
			<div class="layui-tab-content">
				<div class="layui-tab-item layui-show" style="position:static;margin-top:10px;">
					<div class="layui-form-item">
						<label class="layui-form-label">产品编码</label>
						<div class="layui-input-block">
							<input type="text" name="ProductCode" class="layui-input" lay-verify="required" placeholder="请输入产品编码" value="<?php echo $view['base']['product_code']; ?>" >
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">产品名称</label>
						<div class="layui-input-block">
							<input type="text" name="ProductName" class="layui-input" lay-verify="required" placeholder="请输入产品名称" value="<?php echo $view['base']['product_name']; ?>">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">产品类型</label>
						<div class="layui-input-block">
							<select name="ProductType" lay-filter="selectType" lay-search>
								<option value="<?php echo $view['base']['type_id']; ?>"><?php echo $view['base']['type_name']; ?></option>
							</select>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">产品状态</label>
						<div class="layui-input-block">
							<select name="ProductSale" lay-search>
								<option value="0">请选择产品状态</option>
								<?php if(is_array($psale) || $psale instanceof \think\Collection || $psale instanceof \think\Paginator): $k = 0; $__LIST__ = $psale;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$f): $mod = ($k % 2 );++$k;?>
									<option value="<?php echo $k; ?>" <?php if($view['base']['product_sale'] == $k): ?>selected<?php endif; ?>><?php echo $f; ?></option>
								<?php endforeach; endif; else: echo "" ;endif; ?>
							</select>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">包装单位</label>
						<div class="layui-input-block">
							<input type="text" name="ProductDw" class="layui-input" lay-verify="required" placeholder="请输入包装单位 (单个/每箱/每托)" value="<?php echo $view['base']['product_dw']; ?>">&nbsp;
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">是否启用</label>
							<div class="layui-input-block">
								<input type="checkbox" name="show" class="isShow" title="启用" <?php if($view['base']['product_status'] == '1'): ?>checked<?php endif; ?>>
							</div>
						</div>
					</div>
				</div>
				<div class="layui-tab-item layui-show" style="position:static;margin-top:10px;">
					<div class="layui-form-item">
						<label class="layui-form-label">执行标准</label>
						<div class="layui-input-block">
							<textarea name="ProductZx" placeholder="请输入执行标准" class="layui-textarea"><?php echo $view['content']['product_zx']; ?></textarea>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">过滤效率标准</label>
						<div class="layui-input-block">
							<textarea name="ProductGl" placeholder="过滤效率标准" class="layui-textarea"><?php echo $view['content']['product_gl']; ?></textarea>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">原材料类型标准</label>
						<div class="layui-input-block">
							<textarea name="ProductYc" placeholder="请输入原材料类型标准" class="layui-textarea"><?php echo $view['content']['product_yc']; ?></textarea>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">过滤方式</label>
						<div class="layui-input-block">
							<textarea name="ProductStyle" placeholder="请输入过滤方式" class="layui-textarea"><?php echo $view['content']['product_style']; ?></textarea>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">常规适用</label>
						<div class="layui-input-block">
							<textarea name="ProductCg" placeholder="请输入常规适用" class="layui-textarea"><?php echo $view['content']['product_cg']; ?></textarea>
						</div>
					</div>
				</div>
				<div class="layui-tab-item" style="position:static;margin-top:10px;">
					<div class="layui-form-item">
						<label class="layui-form-label">图纸</label>
						<div class="layui-upload-drag" id="ProudctTZ">
							<p>点击上传，或将文件拖拽到此处</p>
						</div>
						<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;预览图
							<div class="layui-upload-list" id="TzDiv"></div>
							<?php if($view['p_files']['tz']['TzUrl'] != ''): ?>
								<a href="<?php echo $view['p_files']['tz']['TzAurl']; ?>" alt="<?php echo $view['p_files']['tz']['TzName']; ?>" class="layui-upload-img"><?php echo $view['p_files']['tz']['TzName']; ?></a>
							<?php endif; ?>
						</blockquote>
						<input type="hidden" name="TzId" value="<?php echo $view['p_files']['tz']['TzId']; ?>" />
						<input type="hidden" name="TzName" value="<?php echo $view['p_files']['tz']['TzName']; ?>" />
						<input type="hidden" name="TzUrl" value="<?php echo $view['p_files']['tz']['TzUrl']; ?>" />
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">安装说明</label>
						<div class="layui-upload-drag" id="ProudctAZ">
							<p>点击上传，或将文件拖拽到此处</p>
						</div>
						<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;预览图
							<div class="layui-upload-list" id="AzDiv"></div>
							<?php if($view['p_files']['az']['AzUrl'] != ''): ?>
								<a href="<?php echo $view['p_files']['az']['AzAurl']; ?>" alt="<?php echo $view['p_files']['az']['AzName']; ?>" class="layui-upload-img"><?php echo $view['p_files']['az']['AzName']; ?></a>
							<?php endif; ?>
						</blockquote>
						<input type="hidden" name="AzId" value="<?php echo $view['p_files']['az']['AzId']; ?>" />
						<input type="hidden" name="AzName" value="<?php echo $view['p_files']['az']['AzName']; ?>" />
						<input type="hidden" name="AzUrl" value="<?php echo $view['p_files']['az']['AzUrl']; ?>" />
					</div>
				</div>
				<div class="layui-tab-item" style="position:static;margin-top:10px;">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">图1</label>
							<div class="layui-upload-drag" id="ProudctImg1">
								<p>点击上传，或将文件拖拽到此处</p>
							</div>
						</div>
						<div class="layui-inline">
							<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">预览图
								<div class="layui-upload-list" id="Img1Url"></div>
								<?php if($view['files']['0']['file_url'] != ''): ?>
									<img src="<?php echo $view['files']['0']['file_all_url']; ?>" alt="<?php echo $view['files']['0']['file_name']; ?>" class="layui-upload-img" width="100" height="60" />
								<?php endif; ?>
							</blockquote>
							<input type="hidden" name="Img1Id" value="<?php echo $view['files']['0']['id']; ?>" />
							<input type="hidden" name="Img1Name" value="<?php echo $view['files']['0']['file_name']; ?>" />
							<input type="hidden" name="Img1Ourl" value="<?php echo $view['files']['0']['file_url']; ?>" />
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">排序值</label>
							<div class="layui-input-block">
								<input type="text" name="Img1Sort" class="layui-input" lay-verify="required" placeholder="请输入排序值" value="<?php echo $view['files']['0']['file_sort']; ?>" >
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否水印</label>
							<div class="layui-input-block">
								<input type="radio" name="Img1Mark" value="1" title="是">
								<input type="radio" name="Img1Mark" value="0" title="否" checked >
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">图2</label>
							<div class="layui-upload-drag" id="ProudctImg2">
								<p>点击上传，或将文件拖拽到此处</p>
							</div>
						</div>
						<div class="layui-inline">
							<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">预览图
								<div class="layui-upload-list" id="Img2Url"></div>
								<?php if($view['files']['1']['file_url'] != ''): ?>
									<img src="<?php echo $view['files']['1']['file_all_url']; ?>" alt="<?php echo $view['files']['1']['file_name']; ?>" class="layui-upload-img" width="100" height="60" />
								<?php endif; ?>
							</blockquote>
							<input type="hidden" name="Img2Id" value="<?php echo $view['files']['1']['id']; ?>" />
							<input type="hidden" name="Img2Name" value="<?php echo $view['files']['1']['file_name']; ?>" />
							<input type="hidden" name="Img2Ourl" value="<?php echo $view['files']['1']['file_url']; ?>" />
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">排序值</label>
							<div class="layui-input-block">
								<input type="text" name="Img2Sort" class="layui-input" lay-verify="required" placeholder="请输入排序值" value="<?php echo $view['files']['1']['file_sort']; ?>" >
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否水印</label>
							<div class="layui-input-block">
								<input type="radio" name="Img2Mark" value="1" title="是">
								<input type="radio" name="Img2Mark" value="0" title="否" checked >
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">图3</label>
							<div class="layui-upload-drag" id="ProudctImg3">
								<p>点击上传，或将文件拖拽到此处</p>
							</div>
						</div>
						<div class="layui-inline">
							<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">预览图
								<div class="layui-upload-list" id="Img3Url"></div>
								<?php if($view['files']['2']['file_url'] != ''): ?>
									<img src="<?php echo $view['files']['2']['file_all_url']; ?>" alt="<?php echo $view['files']['2']['file_name']; ?>" class="layui-upload-img" width="100" height="60" />
								<?php endif; ?>
							</blockquote>
							<input type="hidden" name="Img3Id" value="<?php echo $view['files']['2']['id']; ?>" />
							<input type="hidden" name="Img3Name" value="<?php echo $view['files']['2']['file_name']; ?>" />
							<input type="hidden" name="Img3Ourl" value="<?php echo $view['files']['2']['file_url']; ?>" />
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">排序值</label>
							<div class="layui-input-block">
								<input type="text" name="Img3Sort" class="layui-input" lay-verify="required" placeholder="请输入排序值" value="<?php echo $view['files']['2']['file_sort']; ?>" >
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否水印</label>
							<div class="layui-input-block">
								<input type="radio" name="Img3Mark" value="1" title="是">
								<input type="radio" name="Img3Mark" value="0" title="否" checked >
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">图4</label>
							<div class="layui-upload-drag" id="ProudctImg4">
								<p>点击上传，或将文件拖拽到此处</p>
							</div>
						</div>
						<div class="layui-inline">
							<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">预览图
								<div class="layui-upload-list" id="Img4Url"></div>
								<?php if($view['files']['3']['file_url'] != ''): ?>
									<img src="<?php echo $view['files']['3']['file_all_url']; ?>" alt="<?php echo $view['files']['3']['file_name']; ?>" class="layui-upload-img" width="100" height="60" />
								<?php endif; ?>
							</blockquote>
							<input type="hidden" name="Img4Id" value="<?php echo $view['files']['3']['id']; ?>" />
							<input type="hidden" name="Img4Name" value="<?php echo $view['files']['3']['file_name']; ?>" />
							<input type="hidden" name="Img4Ourl" value="<?php echo $view['files']['3']['file_url']; ?>" />
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">排序值</label>
							<div class="layui-input-block">
								<input type="text" name="Img4Sort" class="layui-input" lay-verify="required" placeholder="请输入排序值" value="<?php echo $view['files']['3']['file_sort']; ?>" >
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否水印</label>
							<div class="layui-input-block">
								<input type="radio" name="Img4Mark" value="1" title="是">
								<input type="radio" name="Img4Mark" value="0" title="否" checked >
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">图5</label>
							<div class="layui-upload-drag" id="ProudctImg5">
								<p>点击上传，或将文件拖拽到此处</p>
							</div>
						</div>
						<div class="layui-inline">
							<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">预览图
								<div class="layui-upload-list" id="Img5Url"></div>
								<?php if($view['files']['4']['file_url'] != ''): ?>
									<img src="<?php echo $view['files']['4']['file_all_url']; ?>" alt="<?php echo $view['files']['4']['file_name']; ?>" class="layui-upload-img" width="100" height="60" />
								<?php endif; ?>
							</blockquote>
							<input type="hidden" name="Img5Id" value="<?php echo $view['files']['4']['id']; ?>" />
							<input type="hidden" name="Img5Name" value="<?php echo $view['files']['4']['file_name']; ?>" />
							<input type="hidden" name="Img5Ourl" value="<?php echo $view['files']['4']['file_url']; ?>" />
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">排序值</label>
							<div class="layui-input-block">
								<input type="text" name="Img5Sort" class="layui-input" lay-verify="required" placeholder="请输入排序值" value="<?php echo $view['files']['4']['file_sort']; ?>" >
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否水印</label>
							<div class="layui-input-block">
								<input type="radio" name="Img5Mark" value="1" title="是">
								<input type="radio" name="Img5Mark" value="0" title="否" checked >
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">图6</label>
							<div class="layui-upload-drag" id="ProudctImg6">
								<p>点击上传，或将文件拖拽到此处</p>
							</div>
						</div>
						<div class="layui-inline">
							<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">预览图
								<div class="layui-upload-list" id="Img6Url"></div>
								<?php if($view['files']['5']['file_url'] != ''): ?>
									<img src="<?php echo $view['files']['5']['file_all_url']; ?>" alt="<?php echo $view['files']['5']['file_name']; ?>" class="layui-upload-img" width="100" height="60" />
								<?php endif; ?>
							</blockquote>
							<input type="hidden" name="Img6Id" value="<?php echo $view['files']['5']['id']; ?>" />
							<input type="hidden" name="Img6Name" value="<?php echo $view['files']['5']['file_name']; ?>" />
							<input type="hidden" name="Img6Ourl" value="<?php echo $view['files']['5']['file_url']; ?>" />
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">排序值</label>
							<div class="layui-input-block">
								<input type="text" name="Img6Sort" class="layui-input" lay-verify="required" placeholder="请输入排序值" value="<?php echo $view['files']['5']['file_sort']; ?>" >
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否水印</label>
							<div class="layui-input-block">
								<input type="radio" name="Img6Mark" value="1" title="是">
								<input type="radio" name="Img6Mark" value="0" title="否" checked >
							</div>
						</div>
					</div>
				</div>
				<div class="layui-tab-item" style="position:static;margin-top:10px;">
					<div class="layui-form-item" id="size_list">
						<?php if(empty($size_list) || (($size_list instanceof \think\Collection || $size_list instanceof \think\Paginator ) && $size_list->isEmpty())): ?>
							<label class="layui-form-label">尺寸</label>
							<div class="layui-input-block">
								<input type="text" name="" class="layui-input" lay-verify="required" placeholder="请先选择产品类型" disabled>
							</div>
						<?php else: if(is_array($size_list) || $size_list instanceof \think\Collection || $size_list instanceof \think\Paginator): $i = 0; $__LIST__ = $size_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$size): $mod = ($i % 2 );++$i;?>
								<div class="layui-form-item">
									<div class="layui-inline">
										<label class="layui-form-label"><?php echo $size['code']; ?></label>
									</div>
									<div class="layui-inline">
										<div class="layui-input-block">
											<input type="text" name="<?php echo $size['input']; ?>" class="layui-input RoleName" lay-verify="required" placeholder="请输入数值" value="<?php echo $size['value']; ?>">
										</div>
									</div>
									<div class="layui-inline">
										<label class="layui-form-label"><?php echo $size['name']; ?></label>
									</div>
								</div>
							<?php endforeach; endif; else: echo "" ;endif; endif; ?>
					</div>
				</div>
				<div class="layui-tab-item" style="position:static;margin-top:10px;">
					<blockquote class="layui-elem-quote news_search">
						<div class="layui-inline">
							<a class="layui-btn layui-btn-normal" id="FactAdd_btn">导入</a>
						</div>
						<div class="layui-inline">
							<a class="layui-btn layui-btn-normal FactDel_btn">删除</a>
						</div>
					</blockquote>
					<table class="layui-table">
						<colgroup>
							<col width="40">
							<col>
							<col width="20%">
							<col width="20%">
							<col width="15%">
							<col width="20%">
						</colgroup>
						<thead>
							<tr>
								<th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChooseCode"></th>
								<th>互换编码</th>
								<th>厂商编码</th>
								<th>厂商名称</th>
								<th>编码类型</th>
								<th>备注</th>
							</tr>  
						</thead>
						<tbody class="news_content" id="fact_list">
							<!--
							<tr>
								<td><input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose"></td>
								<td>AASA</td>
								<td>CQHY</td>
								<td>CQHY</td>
								<td>售后市场</td>
								<td>此号码仅对于中国市场</td>
							</tr>-->
							<?php if(!(empty($exchange_list) || (($exchange_list instanceof \think\Collection || $exchange_list instanceof \think\Paginator ) && $exchange_list->isEmpty()))): if(is_array($exchange_list) || $exchange_list instanceof \think\Collection || $exchange_list instanceof \think\Paginator): $k = 0; $__LIST__ = $exchange_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$exchange): $mod = ($k % 2 );++$k;?>
									<tr data-index="<?php echo $k-1; ?>">
										<td><input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose"></td>
										<td data-field="exchange_code" data-value="<?php echo $exchange['exchange_code']; ?>"><?php echo $exchange['exchange_code']; ?></td>
										<td data-field="fact_code" data-value="<?php echo $exchange['fact_code']; ?>"><?php echo $exchange['fact_code']; ?></td>
										<td data-field="fact_name" data-value="<?php echo $exchange['fact_name']; ?>"><?php echo $exchange['fact_name']; ?></td>
										<?php if(($exchange['fact_type'] == 1)): ?>
											<td data-field="fact_type" data-value="<?php echo $exchange['fact_type']; ?>">原厂备件</td>
										<?php else: ?>
											<td data-field="fact_type" data-value="<?php echo $exchange['fact_type']; ?>">售后市场</td>
										<?php endif; ?>
										<td data-field="fact_demo" data-value="<?php echo $exchange['fact_demo']; ?>"><?php echo $exchange['fact_demo']; ?></td>
									</tr>
								<?php endforeach; endif; else: echo "" ;endif; endif; ?>
						</tbody>
						<input type="hidden" name="del_fact_codes" value="" />
					</table>
				</div>
				<div class="layui-tab-item" style="position:static;margin-top:10px;">
					<blockquote class="layui-elem-quote news_search">
						<div class="layui-inline">
							<a class="layui-btn layui-btn-normal MatorAdd_btn">添加</a>
						</div>
						<div class="layui-inline">
							<a class="layui-btn layui-btn-normal MatorDel_btn">删除</a>
						</div>
					</blockquote>
					<div class="layui-form news_list">
						<table class="layui-table">
							<colgroup>
								<col width="40">
								<col>
								<col width="10%">
								<col width="10%">
								<col width="8%">
								<col width="6%">
								<col width="6%">
								<col width="6%">
								<col width="6%">
								<col width="6%">
								<col width="6%">
								<col width="6%">
							</colgroup>
							<thead>
								<tr>
									<th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose"></th>
									<th>ID</th>
									<th>车型库代码</th>
									<th>车型库名称</th>
									<th>制造商</th>
									<th>系列</th>
									<th>年份</th>
									<th>车型</th>
									<th>发动机</th>
									<th>排量</th>
									<th>功率</th>
									<th>马力</th>
									<th>类型</th>
									<th>起始年份</th>
								</tr> 
							</thead>
							<tbody id="mator_list">
								<?php if(!(empty($mator_list) || (($mator_list instanceof \think\Collection || $mator_list instanceof \think\Paginator ) && $mator_list->isEmpty()))): if(is_array($mator_list) || $mator_list instanceof \think\Collection || $mator_list instanceof \think\Paginator): $k = 0; $__LIST__ = $mator_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$mator): $mod = ($k % 2 );++$k;?>
										<tr data-index="<?php echo $k-1; ?>"><td><input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose"></td>
											<td><?php echo $mator['id']; ?></td>
											<td><?php echo $mator['field_country_code']; ?></td>
											<td><?php echo $mator['field_country_name']; ?></td>
											<td><?php echo $mator['make_name']; ?></td>
											<td><?php echo $mator['series_name']; ?></td>
											<td><?php echo $mator['year_name']; ?></td>
											<td><?php echo $mator['mator_name']; ?></td>
											<td><?php echo $mator['engine']; ?></td>
											<td><?php echo $mator['volume']; ?></td>
											<td><?php echo $mator['capacity']; ?></td>
											<td><?php echo $mator['horse_power']; ?></td>
											<td><?php echo $mator['m_type']; ?></td>
											<td><?php echo $mator['m_year']; ?></td>
										</tr>
									<?php endforeach; endif; else: echo "" ;endif; endif; ?>
							</tbody>
							<input type="hidden" name="del_mator_ids" value="0" />
						</table>
					</div>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<input type="hidden" name="product_id" class="" value="<?php echo $view['base']['id']; ?>">
				<button class="layui-btn" lay-submit="" lay-filter="addRole">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_JS__']; ?>/product/productAdd.js"></script>
</body>
</html>